package com.spring.boot.component;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author zhengzihong
 * @version 1.0.0
 * @date 2018/6/6
 * @Description
 */
@Component
public class PropertiesComponent {

    @Value("${com.test.propreties.test.name}")
    private String testName;


    @Value("${com.memedai.test.name}")
    private String memedaiName;


    public String getTestName() {
        return testName;
    }

    public String getMemedaiName() {
        return memedaiName;
    }
}
